package org.liuyunfeng.web;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

/**
 * @author: TanJingyu
 * @create: 2022-01-20 11:27
 **/
@RequestMapping("/index")
@Controller
public class IndexController {

    @GetMapping
    public String index(HttpServletRequest request) {
        return "/index.html";
    }

}

    